package SimpleFactory;

public class Main {
    public static void main(String[] args) {
        Operation op = OperationFactory.getOperation('+');
        op.setNum1(10);
        op.setNum2(20);
        System.out.println(op.getResult());
    }
}
